package cn.darkhorse.jpush.service;

import cn.darkhorse.jpush.vo.JPushVO;

import java.util.List;
import java.util.Map;

/**
 * 极光推送服务类
 */
public interface JPushService {
    /**
     * 绑定用户与设备唯一识别码
     * @param userid
     * @param registrationID
     * @return
     */
    boolean updaeteregistrationIDByUser(Long userid,String registrationID);

    /**
     * 极光APP推送
     * @return
     */
    String sendMsg(String registrationId, String content, String title, Map<String, String> extras);

    /**
     * 拼接推送信息
     * @return
     */
    List<JPushVO> getJPushSendMsg();




}
